﻿(function($) {
    widgets[4] =
        {
            widgetTypeId: 4,
            optionText: 'Label',
            valueChanged: function() {
                $("#" + notification.WidgetGuid.replace(/-/g, '')).text(notification.Value);
            },
            getHtml: function(widget) {
                var html = "<span id='" + widget.WidgetGuid.replace(/-/g, '') + "'>";
				html = html + widget.CurrentValue;
                html = html + "</span>";
                
                return html;
            },
            widgetReady: function(widget) {

            }
        };
})(jQuery);